<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<script language="javascript">
function check(){
	if(document.RegisteredUsers.RegisterUserName.value==""){
		alert("用户名不能为空！");
		return false;
	}
	else if(document.RegisteredUsers.Password.value==""||document.RegisteredUsers.ConfirmPassword.value==""){
		alert("必须填上两次密码！");
		return false;
	}
	else if(document.RegisteredUsers.Password.value!=document.RegisteredUsers.ConfirmPassword.value){
		alert("两次密码不一致！");
		return false;
	}
	else if(document.RegisteredUsers.Email.value==""){
		alert("邮箱必须填！");
		return false;
	}
	else if(document.RegisteredUsers.Mobile.value==""){
		alert("电话必须填！");
		return false;
	}	
	else 
		return true;
}
</script>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>欢迎来到易购网</title>

	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link href="themes/css/user.css" rel="stylesheet" type="text/css">

  </head>
  
  <body>
  <div style="position: relative; width: 100%; text-align: center;">
		<div class="center_">
    <div class="content">
	<div class="l_24 header_sht">
	<div class="logo" style="top: 10px; left: 5px;"><img src="themes/res/logo_short.gif" alt="易购网" style="top: 0px; left: 0px; width: 315px; height: 68px;"></div>
	<div class="help_link"><a href="">返回首页</a> · <a href="">帮助中心</a></div>
</div>

		<div class="l_24" id="reg_form">
			<div class="flow_title"><h1>会员注册</h1></div> 
			<div class="l_20 flow_body prepend_2">
			<div id="reg_notice" style="margin: 0px auto 10px; display: none;"><a href="javascript:void(0);" onclick="openform()"><img src="login.aspx_files/reg_notice.jpg" alt="注意"></a></div>
			<form name="RegisteredUsers" method="post" action="RegisterServlet" class="bke_form" id="bke_reg_form" style="display: block;">
				<table class="inputcontainer">
					<tbody><tr>
						<th>用户名：</th>
						<td><div class="bke_input " style="width:214px;"><input id="RegisterUserName" name="RegisterUserName" style="width: 200px; top: 0px; left: 25px;" type="text"></div></td>
						<td><span class="notes">6-20个字符（可包括字母、数字、+、-、_），注册成功用户名不能修改。</span></td>
					</tr>
					<tr>
						<th>密码：</th>
						<td><div class="bke_input " style="width:214px;"><input id="Password" name="Password" style="width: 200px; top: 0px; left: 25px;" type="password"></div></td>
						<td><span class="notes">密码可由6-16个字符组成，请注意：密码区分大小写。</span></td>
					</tr>
					<tr>
						<th>确认一次密码：</th>
						<td><div class="bke_input " style="width:214px;"><input id="ConfirmPassword" name="ConfirmPassword" style="width: 200px; top: 0px; left: 25px;" type="password"></div></td>
						<td></td>
					</tr>
					<tr>
						<th>电子邮箱：</th>
						<td><div class="bke_input " style="width:214px;"><input id="Email" name="Email" style="width: 200px; top: 0px; left: 25px;" type="text"></div></td>
						<td><span class="notes">所有订单信息都会即时的发往此邮箱，可以使用如QQ邮箱、163邮箱等</span></td>
					</tr>
					<tr>
						<th>联系电话：</th>
						<td><div class="bke_input " style="width:214px;"><input id="Mobile" name="Mobile" style="width: 200px; top: 0px; left: 25px;" type="text"></div></td>
						<td><span class="notes">选填，方便您获得最新信息。</span></td>
					</tr>
					<tr>
						<th></th>
						<td><input value="确认注册" class="input_but" type="submit" onclick="javascript:return(check());"></td>
						<td></td>
					</tr>
				</tbody></table>
				</form>
			</div>
	</div>
	<div class="l_24 footer_sht">
	<%@ include file="footer.jsp" %>
</div>
    </div>
    </div>
    </div>
</body>
</html>


<!--

//-->
